package cn.edu.zhku.service;

import cn.edu.zhku.pojo.User;

public interface UserService {

    User findById(Integer userId);

    void addOne(User user);

    void modifyOne(User user);

    void resetPwdById(Integer userId, String password, String salt);

    User findUserRoleMenuByUserId(Integer userId);

    boolean checkUserExistByUsername(String username);

    User findPasswordAndSaltByUsername(String username);

    User findPasswordAndSaltById(Integer userId);

    boolean checkUserExistByNo(String no);
}
